<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>v-text 指令</title>
</head>
<body>
<div id="app">
  <h1 v-text="info"></h1>
</div>

<script type="module">
  import {createApp} from "../../../js/vue.esm-browser.js";

  let app = createApp(
          {
            setup(){
              let info = "Hello, Vue!";
              return {
                info,
              }
            }
          }
  );

  app.mount("#app");

</script>
</body>
</html>